package com.bawei.reflection_annotation.room;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyField {
    //字段名称
    String fieldName() default "";
    //类型
    MyType type() default MyType.TEXT;
    //长度
    int length() default 0;
}
